﻿using System;
using System.Runtime.Caching;

namespace Catalyst.Caching
{
	public class AspNetSqlChangeMonitor : ChangeMonitor
	{
		public AspNetSqlChangeMonitor(string databaseEntryName, string tableName)
		{
			DatabaseEntryName = databaseEntryName;
			TableName = tableName;

			InitializationComplete();
		}

		public string DatabaseEntryName { get; private set; }
		public string TableName { get; private set; }

		protected override void Dispose(bool disposing)
		{

		}

		public override string UniqueId
		{
			get
			{
				return Guid.NewGuid().ToString();
			}
		}
	}
}
